package com.purchase.manage.damian;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author oyi46
 * @version 1.0
 * Create by 2023/7/3 14:51
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Purchase {

    //采购员ID
    private String purchaseId;

    //采购员工号
    private String purchaseNum;

    //采购员姓名
    private String name;

    //电话（账号）
    private String phone;

    //密码
    private String password;

    //邮箱
    private String email;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
